//
//  ViewController.m
//  test
//
//  Created by Vincent on 2017/3/25.
//  Copyright © 2017年 Vincent. All rights reserved.
//

#import "ViewController.h"
#import "UIView+zll.h"


@interface ViewController ()



@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    
    UIButton *btn = [UIButton viewWithTag:10 onView:self.view];
    btn.frame = CGRectMake(0, 100, 300, 200);
    btn.backgroundColor = [UIColor redColor];
    
    NSLog(@"%f",btn.top);
    NSLog(@"%f",btn.left);
    NSLog(@"%f",btn.bottom);
    NSLog(@"%f",btn.right);
    NSLog(@"%f",btn.width);
    NSLog(@"%f",btn.height);
}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
